#pragma once

#include <QWidget>
#include <QTimer>

namespace Ui { class TimeReminder; };

class TimeReminder : public QWidget
{
	Q_OBJECT

public:
	TimeReminder(QWidget *parent = Q_NULLPTR);
	~TimeReminder();

public slots :
	void startTimer();
	void timerUpdate();

protected:
	void closeEvent(QCloseEvent *event) override;

private:
	int second;
	QTime time;
	QTimer* timer;
	Ui::TimeReminder *ui;
};
